// 菜单配置
// headerMenuConfig：头部导航配置
// asideMenuConfig：侧边导航配置

const headerMenuConfig = [];

const asideMenuConfig = [
  {
    name: '首页',
    path: '/dashboard',
    icon: 'home',
  },
  {
    name: '排班表',
    icon: 'activity',
    path: '/control/workingSchedule',
    required: 'workingScheduleView',
  },
  {
    name: '交接班记录',
    icon: 'content',
    path: '/control/duty',
    required: 'dutyShiftView',
    children: [{
      name: '交接班记录',
      path: '/control/duty/dutyShift?type=dutyShift',
      required: 'dutyShiftView',
    },{
      name: '破损记录单',
      path: '/control/duty/dutyShift?type=posun',
      required: 'dutyShiftView',
    },{
      name: '行李查询单',
      path: '/control/duty/dutyShift?type=chaxun',
      required: 'dutyShiftView',
    },{
      name: '异常行李单',
      path: '/control/duty/dutyShift?type=yichang',
      required: 'dutyShiftView',
    }]
  },
  {
    name: '巡视检查单',
    icon: 'task',
    path: '/staff/inspection/list',
    required: 'inspectionListView',
  },
  {
    name: '申请',
    icon: 'publish',
    path: '/staff/requestNoteList',
    required: 'requestNoteView',
  },
  {
    name: '批复',
    icon: 'edit2',
    path: '/approver/approvalList',
    required: 'approvalListView',
  },
  {
    name: '上传下载',
    icon: 'attachment',
    path: '/staff/fileShare',
    required: 'fileShareView',
  },
  {
    name: '设备管理',
    icon: 'material',
    path: '/superuser/equipmentControl',
    required: 'equipmentControlView',
  },
  {
    name: '用户管理',
    icon: 'person',
    path: '/superuser/userControl',
    required: 'userControlView',
  },
  {
    name: '部门管理',
    icon: 'fans',
    path: '/superuser/groupControl',
    required: 'groupControlView',
  },
  {
    name: '个人设置',
    icon: 'shezhi',
    path: '/staff/settings',
    required: 'settingsView',
  },
];

const asideLeaderMenuConfig = [];

const asideApproval1MenuConfig = [];

const asideApproval2MenuConfig = [];

const asideSuperUserMenuConfig = [];

export {
  headerMenuConfig,
  asideMenuConfig,
  asideLeaderMenuConfig,
  asideApproval1MenuConfig,
  asideApproval2MenuConfig,
  asideSuperUserMenuConfig,
};
